<template>
    <p>HelloWorld</p>
    <el-button>Default</el-button>
    <el-button type="primary">Primary</el-button>
    <el-button type="success">Success</el-button>
    <el-button type="info">Info</el-button>
    <el-button type="warning">Warning</el-button>
    <el-button type="danger">Danger</el-button>\

    <el-button plain>Plain</el-button>
    <el-button type="primary" plain>Primary</el-button>
    <el-button type="success" plain>Success</el-button>
    <el-button type="info" plain>Info</el-button>
    <el-button type="warning" plain>Warning</el-button>
    <el-button type="danger" plain>Danger</el-button>


    <h1>hello vue</h1>
    <p>计数  {{ count }}</p>
    <el-button type="primary" @click="addOne">点我</el-button>
</template>

<script setup>
import {ref} from 'vue'

const count = ref(0)

const addOne = ()=>{
    count.value++
}
</script>